import { http } from '@/utils';

// 获取文章频道列表
export const getArticleChannelsList = () => http.get('/channels');

// 获取文章列表
export const getArticleList = params => http.get('/mp/articles', { params });

// 删除文章
export const deleteArticle = id => http.delete(`/mp/articles/${id}`);
